<template>
	<div class="file-box">
		<p class="title">文件资源库</p>
		<div v-if="!fileList.length" class="empty">
			<el-empty>
				<template #description>
					<p>暂无文件，请先<a class="upload" @click="upload">上传</a></p>
				</template>
			</el-empty>
		</div>
	</div>
	<GlobalUploader />
</template>

<script setup lang="ts">
import { ref, defineAsyncComponent } from 'vue';
const fileList = ref([]);
const GlobalUploader = defineAsyncComponent(() => import('/@/components/uploader/GlobalUploader.vue'));
const upload = () => {};
</script>

<style lang="scss"></style>
